package com.eureka.eurekaserviceinvoker.contract;

import feign.Contract;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 使用自定义翻译器
 * Created by earl on 2018/4/28.
 */
@Configuration
public class MyConfig {


    @Bean
    public Contract feignContract(){
        return new MyContract();
    }

}
